package com.ohs.dal.model;

public class Schedule extends Entity implements java.io.Serializable {
	public static final int SUNDAY = 1;
	public static final int MONDAY = 2;
	public static final int TUESDAY = 3;
	public static final int WEDNESDAY = 4;
	public static final int THURSDAY = 5;
	public static final int FRIDAY = 6;
	public static final int SATURDAY = 7;
	
	private ScheduleId id;
	private Integer startHour;
	private Integer endHour;
	private Integer startMin;
	private Integer endMin;
	private Boolean enable;

	public Schedule() {
		this.startHour = 8;
		this.endHour = 17;
		this.startMin = 0;
		this.endMin = 0;
		this.enable = false;
	}
	
	public Schedule(ScheduleId id, Integer startHour, Integer endHour, Integer startMin, Integer endMin) {
		this.id = id;
		this.startHour = startHour;
		this.startMin = startMin;
		this.endHour = endHour;
		this.endMin = endMin;
	}
	
	public Schedule(Integer startHour, Integer endHour, Integer startMin, Integer endMin) {
		this.startHour = startHour;
		this.startMin = startMin;
		this.endHour = endHour;
		this.endMin = endMin;
	}

	public ScheduleId getId() {
		return id;
	}


	public void setId(ScheduleId id) {
		this.id = id;
	}


	public Integer getStartHour() {
		return startHour;
	}

	public void setStartHour(Integer startHour) {
		this.startHour = startHour;
	}

	public Integer getEndHour() {
		return endHour;
	}

	public void setEndHour(Integer endHour) {
		this.endHour = endHour;
	}

	public Integer getStartMin() {
		return startMin;
	}

	public void setStartMin(Integer startMin) {
		this.startMin = startMin;
	}

	public Integer getEndMin() {
		return endMin;
	}

	public void setEndMin(Integer endMin) {
		this.endMin = endMin;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}


}
